<ion-view view-title="Courses">
  <ion-content>
    <div class="list card" ng-repeat="course in courses">

	  <div class="item item-avatar">
		<img src={{course.teacherImg}}>
		<h2>{{course.teacher}}</h2>
		<p>{{course.updateDate}}</p>
	  </div>
	
	  <div class="item item-body" ng-click="openCourse({{course.courseId}})">
	  	<img class="full-image" src={{course.courseImg}}>
		  <p>
		  {{course.intro}}
		  </p>
	  </div>
	  
	</div>
  </ion-content>
</ion-view>
